package com.cmpe451.nutty.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "RATE")
public class Rate extends BaseModel {
	private static final long serialVersionUID = 1L;

	@Column(name = "USERNAME")
	private String username;
	
	@Column(name = "RECIPE_ID")
	private Long recipe_id;
	
	@Column(name = "RATE")
	private int rate;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Long getRecipe_id() {
		return recipe_id;
	}

	public void setRecipe_id(Long recipe_id) {
		this.recipe_id = recipe_id;
	}

	public int getRate() {
		return rate;
	}

	public void setRate(int rate) {
		this.rate = rate;
	}

	
}
